package com.huashi.dealer.core.page;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * 通用分页请求
 */
public class CommonPageRequest {

    /**
     * 默认分页
     */
    public static <T> Page<T> defaultPage() {
        return new Page<>(1, 10);
    }

    /**
     * 创建分页
     */
    public static <T> Page<T> of(long current, long size) {
        return new Page<>(current, size);
    }
} 